/* Top bar with change password and logout links */
#option-menu-bar {
	clear: both;
}

#option-menu,#option-menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	font-family: arial, verdana, helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
}

#option-menu li {
	display: inline;
	color: #444444;
	font-weight: bold;
	padding-right: 5px;
	margin: 0px;
}

#option-menu li a {
	color: #444444;
}

/* menu bar */
#top-menu {
	clear: both;
}

#top-menu {
	position: relative;
	border: 0;
	background: url(../images/topMenuBackground.png) no-repeat scroll left bottom transparent;
	height: 68px;
	margin: 0px;
	min-width: 1000px;
	padding-left: 0px;
}

#topMenuLogo {
	width: 393px;
	height: 68px;
	float: left; 
	margin: 0 30px 0 0;
}


/* RTA: remove padding, list style, margins from li - set in style.css */
#nav li {
	display: block;
	list-style-type: none;
	margin-bottom: 0px;
	margin-left: 5px;
	border-radius: 2px;
}

#nav,#nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	font-family: Tahoma;
	font-size: 11px;
	font-variant: normal;
	border-radius: 2px;
}

#nav a {
	display: block;
	text-decoration: none;
	text-transform: capitalize;
	color: #000000;
	/*padding-left: 25px;*/
	/* Disable link outline from clicked links. works only in firefox
	 * For ie, need: onclick="this.blur();return true" or onfocus="if (this.blur) this.blur();"
	*/
	outline: 0;
}

#nav ul.l2 li:hover a.l2_link span, #nav ul.l2 li.hover a.l2_link span {
	color: #FFFFFF;
}

#nav ul.l3 li:hover a span, #nav ul.l3 li.hover a span {
	color: #FFFFFF;
}

/* TODO: check and change if needed to set text width to auto - eg: to fit other language menu's. */
#nav li.l2 a {
	width: 10em;
}

/* To view longer tabs in Recruitment menu item */
div#top-menu ul#nav li#recruitiment.l1 ul.l2 li.l2 a {
    width: 11.5em;
}

#nav li.l1 {
	margin: 41px 5px 0 0;
	padding-left: 0px;
	background: url(../images/topMenuButton.png) bottom right;
}

#nav li {
	float: left;
	line-height: 17px;
	height: 20px;
}

#nav ul, #nav li, #nav a, #nav a span {
	cursor: pointer;
}
#nav li ul {
	position: absolute;
	width: 10em;
	left: -999em;
}

#nav li:hover ul ul,#nav li.hover ul ul {
	left: -999em;
}

#nav li.l1:hover a.l1_link { /*font-weight: bold;*/

}

#nav li ul ul {
	margin: -1em 0 0 10em;
}

#nav li ul.l2 {
	margin-left: -0.5em;
}
#nav li ul.l3 {
	margin-left: 12.5em;
}

/* Adjust PIM drop down margins */
#nav li#pim ul.l3 {
	margin-left: 14em;
}
#nav li#time ul.l3 {
	margin-left: 14em;
}

#nav li#admin ul.l3 {
    margin-left: 14em;
}

#nav li#leave ul.l3 {
    margin-left: 14em;
}

#nav li#benefits ul.l3 {
	margin-left: 14em;
}

#nav li:hover ul,#nav li li:hover ul,#nav li.hover ul,#nav li li.hover ul
	{
	left: auto;
}

#nav li.l1 span.current {
	font-weight: bold;
}

#nav li a span {
	height: 20px;
	/*width:auto;*/
	padding-right: 25px;
	padding-left: 5px;
	display: block;
}

#nav li.l1:hover a.l1_link span,  #nav li.hover a.l1_link span {
	background: url(../images/tophov.gif) top right;
	border-radius: 2px;
}

#nav li.l1 a.l1_link span.drop {
	/*background: url(../images/topdrop.gif) top right;*/
}

#nav li.l1:hover a.l1_link span.drop, #nav li.hover a.l1_link span.drop {
	background: url(../images/topMenuButtonHover.png) bottom right;
	color: white;
	border-radius: 2px;
}


/* TODO: Problem with having dual classes to use hover */
#nav li.l1:hover, #nav li.hover {
	background: url(../images/tophov.gif) top left;
	border-radius: 2px;
}

/* Drop down styling */


/* ============================================================================== */


#nav ul.l2 li {
	background: url(../images/dropButton.png) bottom left;
}
#nav ul.l2 li.l2:hover, #nav ul.l2 li.hover {
	background: url(../images/dropButtonHover.png) bottom left;
}
#nav ul.l3 li.l3:hover, #nav ul.l3 li.hover {
	background: url(../images/dropButtonHover.png) bottom left;
}
#nav ul.l2 li span {
	background: url(../images/dropButton.png) bottom right;
	padding-left: 10px;
}
#nav ul.l2 li.l2:hover a.l2_link span, #nav ul.l2 li.hover a.l2_link span {
	background: url(../images/dropButtonHover.png) bottom right;
	padding-left: 10px;
}
#nav ul.l3 li.l3:hover  span, #nav ul.l3 li.hover span {
	background: url(../images/dropButtonHover.png) bottom right;
	padding-left: 10px;
}
#nav ul.l2 li a.parent span {
	background: url(../images/dropButtonParent.png) bottom right;
	padding-left: 10px;
}
#nav ul.l2 li:hover a.parent span, #nav ul.l2 li.hover a.parent span {
	background: url(../images/dropButtonParentHover.png) bottom right;
	padding-left: 10px;
}


 


/* ============================================================================== */
 

/* Drop down menu widths */


#nav li#admin ul li.l2 span {
	width: 13em;
}
#nav li#admin ul li.l3 a.importexport span {
	width: 13em;
}
#nav li#pim ul {
	width: 13em;
}

#nav li#pim ul li.l2 span {
    width: 13em;
}

#nav li#pim ul li.l3 span {
	width: 13em;
}

#nav li#leave ul li.l2 span {
	width: 13em;
}

#nav li#leave ul li.l3 a.leavesummary span {
	width: 13em;
}

#nav li#time ul li.l2 span {
	width: 13em;
}

#nav li#time ul li.l3 a.timesheets span {
	width: 13em;
}

#nav li#recruitment ul li.l2 span {
	width: 13em;
}
#nav li#benefits ul li.l2 span{
	width: 13em;
}
#nav li#benefits ul li.l3 a.hsp span{
	width: 13em;
}
#nav li#benefits ul li.l3 a.payrollschedule span{
	width: 13em;
}
#nav li#recruitment ul {
	width: 13em;
}
#nav li#performance ul {
	width: 13em;
}

#nav li#performance ul li.l2 span {
    width: 13em;
}

#nav li#survey ul li.l2 span {
	width: 13em;
}

#nav li#dashboards ul li.l2 span {
	width: 13em;
}

#nav li#helps ul li.l2 span {
	width: 13em;
}

#nav li#ess ul {
	width: 13em;
}

#nav li#bug aul {
	width: 13em;
}

#nav li#help ul {
	width: 13em;
}

#nav li#help ul li.l2 span {
    width: 13em;
}

#nav li#admin ul li.l3 a.users span {
    width: 18em;
}

